package creator.prototype.light;


/**
 * 数值创建工厂
 */

public class Numerical {

    /**
     * 武将/宝物 名称
     */
    private String name;

    /**
     * 武将/宝物年龄
     */
    private String age;

    /**
     * 攻击力
     */
    private String aggressivity;

    /**
     * 防御力
     */
    private String defensivePower;

    /**
     * 生命值
     */
    private String healthValue;

    /**
     * 特殊数值
     */
    private Specialvalue specialValue;


    public Numerical(String name, String age, String aggressivity, String defensivePower, String healthValue, Specialvalue specialValue) {
        this.name = name;
        this.age = age;
        this.aggressivity = aggressivity;
        this.defensivePower = defensivePower;
        this.healthValue = healthValue;
        this.specialValue = specialValue;
    }

    public Numerical(String name, String aggressivity, String defensivePower, String healthValue, Specialvalue specialValue) {
        this.name = name;
        this.aggressivity = aggressivity;
        this.defensivePower = defensivePower;
        this.healthValue = healthValue;
        this.specialValue = specialValue;
    }

    public Numerical(String name, String aggressivity, String defensivePower, String healthValue) {
        this.name = name;
        this.aggressivity = aggressivity;
        this.defensivePower = defensivePower;
        this.healthValue = healthValue;
    }

    public Numerical() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAggressivity() {
        return aggressivity;
    }

    public void setAggressivity(String aggressivity) {
        this.aggressivity = aggressivity;
    }

    public String getDefensivePower() {
        return defensivePower;
    }

    public void setDefensivePower(String defensivePower) {
        this.defensivePower = defensivePower;
    }

    public String getHealthValue() {
        return healthValue;
    }

    public void setHealthValue(String healthValue) {
        this.healthValue = healthValue;
    }

    public Specialvalue getSpecialValue() {
        return specialValue;
    }

    public void setSpecialValue(Specialvalue specialValue) {
        this.specialValue = specialValue;
    }

    @Override
    public String toString() {
        return "Numerical{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", aggressivity='" + aggressivity + '\'' +
                ", defensivePower='" + defensivePower + '\'' +
                ", healthValue='" + healthValue + '\'' +
                ", specialValue='" + specialValue.toString() + '\'' +
                '}';
    }
}
